<?php
/**
 * Created by PhpStorm.
 * User: a4041
 * Date: 2018/6/13
 * Time: 13:46
 */

namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class UserCoupon extends Model
{
    protected $guarded = ['id'];

    public function  coupondetail(){
        return $this->belongsTo('App\Models\Coupon','coupon_id','id');
    }

}